囚人のジレンマゲームの実験2

概要: README.md


In [1]:
#-*- encoding: utf-8 -*-
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
pd.set_option('display.precision', 4)
import sys
sys.path.append('./user_strategies')
import play as pl
from Iida_perfect_monitoring import Iida_pm
from Iida_imperfect_public import Iida_ipm
from Iida_imperfect_private import Iida_iprm
from kato import KatoStrategy
from ikegami_perfect import Self_Centered_perfect
from ikegami_imperfect_public import Self_Centered_public
from ikegami_imperfect_private import Self_Centered_private
from mhanami_Public_Strategy import PubStrategy
from mhanami_Imperfect_Public_Strategy import ImPubStrategy
from mhanami_Imperfect_Private_Strategy import ImPrivStrategy
from tsuyoshi import GrimTrigger
from gistfile1 import MyStrategy
from beeleb_Strategy import beeleb
from oyama import OyamaPerfectMonitoring, OyamaImperfectPublicMonitoring, OyamaImperfectPrivateMonitoring
from ogawa import ogawa
from yamagishi_impd import yamagishi

Test

各戦略のテスト


In [3]:
import unittest

class TestStrategies(unittest.TestCase):
    def setUp(self):
        self.Strategies = [Iida_pm, Iida_ipm, Iida_iprm, KatoStrategy, Self_Centered_perfect, \
                          Self_Centered_public, Self_Centered_private, PubStrategy, ImPubStrategy, ImPrivStrategy, \
                          MyStrategy, beeleb, OyamaPerfectMonitoring, \
                           OyamaImperfectPublicMonitoring, OyamaImperfectPrivateMonitoring, \
                          ogawa, yamagishi, GrimTrigger] # ここに自作のclassを入れる
        self.case1 = "Signal is empty(period 1)"
        self.case2 = [0, 1]
        self.case3 = [1, 0]
        self.case4 = [0, 1, 0, 1, 0, 0, 1]

        self.seed = 11451
        self.RandomState = np.random.RandomState(self.seed)


    # case1を引数に渡してテスト
    def test1(self):
        print("testcase:", self.case1)
        for Strategy in self.Strategies:
            rst = Strategy(self.RandomState).play()
            self.assertIsNotNone(rst, Strategy.__module__)
            self.assertIn(rst, (0, 1), Strategy.__module__)


    # case2を引数に渡してテスト
    def test2(self):
        print("testcase:", self.case2)
        for Strategy in self.Strategies:
            S = Strategy(self.RandomState)
            for signal in self.case2:
                S.get_signal(signal)
                rst = S.play()       
                self.assertIsNotNone(rst, Strategy.__module__)
                self.assertIn(rst, (0, 1), Strategy.__module__)


    # case3を引数に渡してテスト
    def test3(self):
        print("testcase:", self.case3)
        for Strategy in self.Strategies:
            S = Strategy(self.RandomState)
            for signal in self.case3:
                S.get_signal(signal)
            
            rst = S.play()
            self.assertIsNotNone(rst, S.__module__)
            self.assertIn(rst, (0, 1), S.__module__)


    # case4を引数に渡してテスト
    def test4(self):
        print("testcase:", self.case4)
        for Strategy in self.Strategies:
            S = Strategy(self.RandomState)
            for signal in self.case4:
                S.get_signal(signal)
                rst = S.play()
                self.assertIsNotNone(rst, S.__module__)
                self.assertIn(rst, (0, 1), S.__module__)

In [4]:
suite = unittest.TestLoader().loadTestsFromTestCase(TestStrategies)
unittest.TextTestRunner().run(suite)


....
testcase: Signal is empty(period 1)
testcase: [0, 1]
testcase: [1, 0]
testcase: [0, 1, 0, 1, 0, 0, 1]
----------------------------------------------------------------------
Ran 4 tests in 0.004s

OK
Out[4]:
<unittest.runner.TextTestResult run=4 errors=0 failures=0>

Test: OK

実験のセットアップ


In [2]:
payoff = np.array([[4, 0], [5, 2]])
seed = 20141019
rs = np.random.RandomState(seed)
discount_v = 0.97
repeat = 1000
ts_length = rs.geometric(p=1-discount_v, size=1000) + 1

Case1: perfect monitoring


In [6]:
strategies = [Iida_pm, PubStrategy, KatoStrategy, Self_Centered_perfect,
                       GrimTrigger, MyStrategy, beeleb, OyamaPerfectMonitoring, ogawa,
                       yamagishi]
game = pl.RepeatedMatrixGame(payoff, strategies, signal=None, ts_length=ts_length, repeat=1000)
game.play(mtype="perfect", random_seed=seed, record=False)


Start
The object has 10 strategy functions below
****************************************
Iida_perfect_monitoring.Iida_pm
mhanami_Public_Strategy.PubStrategy
kato.KatoStrategy
ikegami_perfect.Self_Centered_perfect
tsuyoshi.GrimTrigger
gistfile1.MyStrategy
beeleb_Strategy.beeleb
oyama.OyamaPerfectMonitoring
ogawa.ogawa
yamagishi_impd.yamagishi
****************************************
Repeats: 1000
Total time series length: 34333

Game 1: "Iida_perfect_monitoring.Iida_pm" vs "mhanami_Public_Strategy.PubStrategy"
total score of Iida_perfect_monitoring.Iida_pm: 96040.000, per stage: 2.797
total score of mhanami_Public_Strategy.PubStrategy: 104995.000, per stage: 3.058

Game 2: "Iida_perfect_monitoring.Iida_pm" vs "kato.KatoStrategy"
total score of Iida_perfect_monitoring.Iida_pm: 60464.000, per stage: 1.761
total score of kato.KatoStrategy: 85969.000, per stage: 2.504

Game 3: "Iida_perfect_monitoring.Iida_pm" vs "ikegami_perfect.Self_Centered_perfect"
total score of Iida_perfect_monitoring.Iida_pm: 147123.000, per stage: 4.285
total score of ikegami_perfect.Self_Centered_perfect: 98168.000, per stage: 2.859

Game 4: "Iida_perfect_monitoring.Iida_pm" vs "tsuyoshi.GrimTrigger"
total score of Iida_perfect_monitoring.Iida_pm: 124298.000, per stage: 3.620
total score of tsuyoshi.GrimTrigger: 88338.000, per stage: 2.573

Game 5: "Iida_perfect_monitoring.Iida_pm" vs "gistfile1.MyStrategy"
total score of Iida_perfect_monitoring.Iida_pm: 147123.000, per stage: 4.285
total score of gistfile1.MyStrategy: 98168.000, per stage: 2.859

Game 6: "Iida_perfect_monitoring.Iida_pm" vs "beeleb_Strategy.beeleb"
total score of Iida_perfect_monitoring.Iida_pm: 147123.000, per stage: 4.285
total score of beeleb_Strategy.beeleb: 98168.000, per stage: 2.859

Game 7: "Iida_perfect_monitoring.Iida_pm" vs "oyama.OyamaPerfectMonitoring"
total score of Iida_perfect_monitoring.Iida_pm: 95809.000, per stage: 2.791
total score of oyama.OyamaPerfectMonitoring: 104604.000, per stage: 3.047

Game 8: "Iida_perfect_monitoring.Iida_pm" vs "ogawa.ogawa"
total score of Iida_perfect_monitoring.Iida_pm: 106699.000, per stage: 3.108
total score of ogawa.ogawa: 96454.000, per stage: 2.809

Game 9: "Iida_perfect_monitoring.Iida_pm" vs "yamagishi_impd.yamagishi"
total score of Iida_perfect_monitoring.Iida_pm: 126331.000, per stage: 3.680
total score of yamagishi_impd.yamagishi: 125791.000, per stage: 3.664

Game 10: "mhanami_Public_Strategy.PubStrategy" vs "Iida_perfect_monitoring.Iida_pm"
total score of mhanami_Public_Strategy.PubStrategy: 104613.000, per stage: 3.047
total score of Iida_perfect_monitoring.Iida_pm: 95823.000, per stage: 2.791

Game 11: "mhanami_Public_Strategy.PubStrategy" vs "kato.KatoStrategy"
total score of mhanami_Public_Strategy.PubStrategy: 68666.000, per stage: 2.000
total score of kato.KatoStrategy: 73666.000, per stage: 2.146

Game 12: "mhanami_Public_Strategy.PubStrategy" vs "ikegami_perfect.Self_Centered_perfect"
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000

Game 13: "mhanami_Public_Strategy.PubStrategy" vs "tsuyoshi.GrimTrigger"
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000

Game 14: "mhanami_Public_Strategy.PubStrategy" vs "gistfile1.MyStrategy"
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000

Game 15: "mhanami_Public_Strategy.PubStrategy" vs "beeleb_Strategy.beeleb"
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000

Game 16: "mhanami_Public_Strategy.PubStrategy" vs "oyama.OyamaPerfectMonitoring"
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000

Game 17: "mhanami_Public_Strategy.PubStrategy" vs "ogawa.ogawa"
total score of mhanami_Public_Strategy.PubStrategy: 96131.000, per stage: 2.800
total score of ogawa.ogawa: 94391.000, per stage: 2.749

Game 18: "mhanami_Public_Strategy.PubStrategy" vs "yamagishi_impd.yamagishi"
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000

Game 19: "kato.KatoStrategy" vs "Iida_perfect_monitoring.Iida_pm"
total score of kato.KatoStrategy: 85639.000, per stage: 2.494
total score of Iida_perfect_monitoring.Iida_pm: 60684.000, per stage: 1.768

Game 20: "kato.KatoStrategy" vs "mhanami_Public_Strategy.PubStrategy"
total score of kato.KatoStrategy: 73666.000, per stage: 2.146
total score of mhanami_Public_Strategy.PubStrategy: 68666.000, per stage: 2.000

Game 21: "kato.KatoStrategy" vs "ikegami_perfect.Self_Centered_perfect"
total score of kato.KatoStrategy: 170665.000, per stage: 4.971
total score of ikegami_perfect.Self_Centered_perfect: 4000.000, per stage: 0.117

Game 22: "kato.KatoStrategy" vs "tsuyoshi.GrimTrigger"
total score of kato.KatoStrategy: 122545.000, per stage: 3.569
total score of tsuyoshi.GrimTrigger: 36080.000, per stage: 1.051

Game 23: "kato.KatoStrategy" vs "gistfile1.MyStrategy"
total score of kato.KatoStrategy: 105175.000, per stage: 3.063
total score of gistfile1.MyStrategy: 47660.000, per stage: 1.388

Game 24: "kato.KatoStrategy" vs "beeleb_Strategy.beeleb"
total score of kato.KatoStrategy: 82174.000, per stage: 2.393
total score of beeleb_Strategy.beeleb: 62994.000, per stage: 1.835

Game 25: "kato.KatoStrategy" vs "oyama.OyamaPerfectMonitoring"
total score of kato.KatoStrategy: 73666.000, per stage: 2.146
total score of oyama.OyamaPerfectMonitoring: 68666.000, per stage: 2.000

Game 26: "kato.KatoStrategy" vs "ogawa.ogawa"
total score of kato.KatoStrategy: 76453.000, per stage: 2.227
total score of ogawa.ogawa: 66808.000, per stage: 1.946

Game 27: "kato.KatoStrategy" vs "yamagishi_impd.yamagishi"
total score of kato.KatoStrategy: 73666.000, per stage: 2.146
total score of yamagishi_impd.yamagishi: 68666.000, per stage: 2.000

Game 28: "ikegami_perfect.Self_Centered_perfect" vs "Iida_perfect_monitoring.Iida_pm"
total score of ikegami_perfect.Self_Centered_perfect: 98168.000, per stage: 2.859
total score of Iida_perfect_monitoring.Iida_pm: 147123.000, per stage: 4.285

Game 29: "ikegami_perfect.Self_Centered_perfect" vs "mhanami_Public_Strategy.PubStrategy"
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000

Game 30: "ikegami_perfect.Self_Centered_perfect" vs "kato.KatoStrategy"
total score of ikegami_perfect.Self_Centered_perfect: 4000.000, per stage: 0.117
total score of kato.KatoStrategy: 170665.000, per stage: 4.971

Game 31: "ikegami_perfect.Self_Centered_perfect" vs "tsuyoshi.GrimTrigger"
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000

Game 32: "ikegami_perfect.Self_Centered_perfect" vs "gistfile1.MyStrategy"
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000

Game 33: "ikegami_perfect.Self_Centered_perfect" vs "beeleb_Strategy.beeleb"
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000

Game 34: "ikegami_perfect.Self_Centered_perfect" vs "oyama.OyamaPerfectMonitoring"
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000

Game 35: "ikegami_perfect.Self_Centered_perfect" vs "ogawa.ogawa"
total score of ikegami_perfect.Self_Centered_perfect: 83220.000, per stage: 2.424
total score of ogawa.ogawa: 150860.000, per stage: 4.394

Game 36: "ikegami_perfect.Self_Centered_perfect" vs "yamagishi_impd.yamagishi"
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000

Game 37: "tsuyoshi.GrimTrigger" vs "Iida_perfect_monitoring.Iida_pm"
total score of tsuyoshi.GrimTrigger: 88107.000, per stage: 2.566
total score of Iida_perfect_monitoring.Iida_pm: 124667.000, per stage: 3.631

Game 38: "tsuyoshi.GrimTrigger" vs "mhanami_Public_Strategy.PubStrategy"
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000

Game 39: "tsuyoshi.GrimTrigger" vs "kato.KatoStrategy"
total score of tsuyoshi.GrimTrigger: 36194.000, per stage: 1.054
total score of kato.KatoStrategy: 122374.000, per stage: 3.564

Game 40: "tsuyoshi.GrimTrigger" vs "ikegami_perfect.Self_Centered_perfect"
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000

Game 41: "tsuyoshi.GrimTrigger" vs "gistfile1.MyStrategy"
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000

Game 42: "tsuyoshi.GrimTrigger" vs "beeleb_Strategy.beeleb"
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000

Game 43: "tsuyoshi.GrimTrigger" vs "oyama.OyamaPerfectMonitoring"
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000

Game 44: "tsuyoshi.GrimTrigger" vs "ogawa.ogawa"
total score of tsuyoshi.GrimTrigger: 92949.000, per stage: 2.707
total score of ogawa.ogawa: 126039.000, per stage: 3.671

Game 45: "tsuyoshi.GrimTrigger" vs "yamagishi_impd.yamagishi"
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000

Game 46: "gistfile1.MyStrategy" vs "Iida_perfect_monitoring.Iida_pm"
total score of gistfile1.MyStrategy: 98168.000, per stage: 2.859
total score of Iida_perfect_monitoring.Iida_pm: 147123.000, per stage: 4.285

Game 47: "gistfile1.MyStrategy" vs "mhanami_Public_Strategy.PubStrategy"
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000

Game 48: "gistfile1.MyStrategy" vs "kato.KatoStrategy"
total score of gistfile1.MyStrategy: 47360.000, per stage: 1.379
total score of kato.KatoStrategy: 105625.000, per stage: 3.076

Game 49: "gistfile1.MyStrategy" vs "ikegami_perfect.Self_Centered_perfect"
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000

Game 50: "gistfile1.MyStrategy" vs "tsuyoshi.GrimTrigger"
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000

Game 51: "gistfile1.MyStrategy" vs "beeleb_Strategy.beeleb"
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000

Game 52: "gistfile1.MyStrategy" vs "oyama.OyamaPerfectMonitoring"
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000

Game 53: "gistfile1.MyStrategy" vs "ogawa.ogawa"
total score of gistfile1.MyStrategy: 99673.000, per stage: 2.903
total score of ogawa.ogawa: 125913.000, per stage: 3.667

Game 54: "gistfile1.MyStrategy" vs "yamagishi_impd.yamagishi"
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000

Game 55: "beeleb_Strategy.beeleb" vs "Iida_perfect_monitoring.Iida_pm"
total score of beeleb_Strategy.beeleb: 98168.000, per stage: 2.859
total score of Iida_perfect_monitoring.Iida_pm: 147123.000, per stage: 4.285

Game 56: "beeleb_Strategy.beeleb" vs "mhanami_Public_Strategy.PubStrategy"
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000

Game 57: "beeleb_Strategy.beeleb" vs "kato.KatoStrategy"
total score of beeleb_Strategy.beeleb: 62994.000, per stage: 1.835
total score of kato.KatoStrategy: 82174.000, per stage: 2.393

Game 58: "beeleb_Strategy.beeleb" vs "ikegami_perfect.Self_Centered_perfect"
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000

Game 59: "beeleb_Strategy.beeleb" vs "tsuyoshi.GrimTrigger"
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000

Game 60: "beeleb_Strategy.beeleb" vs "gistfile1.MyStrategy"
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000

Game 61: "beeleb_Strategy.beeleb" vs "oyama.OyamaPerfectMonitoring"
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000

Game 62: "beeleb_Strategy.beeleb" vs "ogawa.ogawa"
total score of beeleb_Strategy.beeleb: 105526.000, per stage: 3.074
total score of ogawa.ogawa: 117546.000, per stage: 3.424

Game 63: "beeleb_Strategy.beeleb" vs "yamagishi_impd.yamagishi"
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000

Game 64: "oyama.OyamaPerfectMonitoring" vs "Iida_perfect_monitoring.Iida_pm"
total score of oyama.OyamaPerfectMonitoring: 104721.000, per stage: 3.050
total score of Iida_perfect_monitoring.Iida_pm: 95731.000, per stage: 2.788

Game 65: "oyama.OyamaPerfectMonitoring" vs "mhanami_Public_Strategy.PubStrategy"
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000

Game 66: "oyama.OyamaPerfectMonitoring" vs "kato.KatoStrategy"
total score of oyama.OyamaPerfectMonitoring: 68666.000, per stage: 2.000
total score of kato.KatoStrategy: 73666.000, per stage: 2.146

Game 67: "oyama.OyamaPerfectMonitoring" vs "ikegami_perfect.Self_Centered_perfect"
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000

Game 68: "oyama.OyamaPerfectMonitoring" vs "tsuyoshi.GrimTrigger"
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000

Game 69: "oyama.OyamaPerfectMonitoring" vs "gistfile1.MyStrategy"
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000

Game 70: "oyama.OyamaPerfectMonitoring" vs "beeleb_Strategy.beeleb"
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000

Game 71: "oyama.OyamaPerfectMonitoring" vs "ogawa.ogawa"
total score of oyama.OyamaPerfectMonitoring: 95816.000, per stage: 2.791
total score of ogawa.ogawa: 93846.000, per stage: 2.733

Game 72: "oyama.OyamaPerfectMonitoring" vs "yamagishi_impd.yamagishi"
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000

Game 73: "ogawa.ogawa" vs "Iida_perfect_monitoring.Iida_pm"
total score of ogawa.ogawa: 96396.000, per stage: 2.808
total score of Iida_perfect_monitoring.Iida_pm: 106996.000, per stage: 3.116

Game 74: "ogawa.ogawa" vs "mhanami_Public_Strategy.PubStrategy"
total score of ogawa.ogawa: 93930.000, per stage: 2.736
total score of mhanami_Public_Strategy.PubStrategy: 95830.000, per stage: 2.791

Game 75: "ogawa.ogawa" vs "kato.KatoStrategy"
total score of ogawa.ogawa: 66816.000, per stage: 1.946
total score of kato.KatoStrategy: 76441.000, per stage: 2.226

Game 76: "ogawa.ogawa" vs "ikegami_perfect.Self_Centered_perfect"
total score of ogawa.ogawa: 150845.000, per stage: 4.394
total score of ikegami_perfect.Self_Centered_perfect: 83280.000, per stage: 2.426

Game 77: "ogawa.ogawa" vs "tsuyoshi.GrimTrigger"
total score of ogawa.ogawa: 125335.000, per stage: 3.651
total score of tsuyoshi.GrimTrigger: 92775.000, per stage: 2.702

Game 78: "ogawa.ogawa" vs "gistfile1.MyStrategy"
total score of ogawa.ogawa: 125798.000, per stage: 3.664
total score of gistfile1.MyStrategy: 99903.000, per stage: 2.910

Game 79: "ogawa.ogawa" vs "beeleb_Strategy.beeleb"
total score of ogawa.ogawa: 117572.000, per stage: 3.424
total score of beeleb_Strategy.beeleb: 105457.000, per stage: 3.072

Game 80: "ogawa.ogawa" vs "oyama.OyamaPerfectMonitoring"
total score of ogawa.ogawa: 95101.000, per stage: 2.770
total score of oyama.OyamaPerfectMonitoring: 96821.000, per stage: 2.820

Game 81: "ogawa.ogawa" vs "yamagishi_impd.yamagishi"
total score of ogawa.ogawa: 110520.000, per stage: 3.219
total score of yamagishi_impd.yamagishi: 108405.000, per stage: 3.157

Game 82: "yamagishi_impd.yamagishi" vs "Iida_perfect_monitoring.Iida_pm"
total score of yamagishi_impd.yamagishi: 125166.000, per stage: 3.646
total score of Iida_perfect_monitoring.Iida_pm: 125711.000, per stage: 3.662

Game 83: "yamagishi_impd.yamagishi" vs "mhanami_Public_Strategy.PubStrategy"
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000
total score of mhanami_Public_Strategy.PubStrategy: 137332.000, per stage: 4.000

Game 84: "yamagishi_impd.yamagishi" vs "kato.KatoStrategy"
total score of yamagishi_impd.yamagishi: 68666.000, per stage: 2.000
total score of kato.KatoStrategy: 73666.000, per stage: 2.146

Game 85: "yamagishi_impd.yamagishi" vs "ikegami_perfect.Self_Centered_perfect"
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000
total score of ikegami_perfect.Self_Centered_perfect: 137332.000, per stage: 4.000

Game 86: "yamagishi_impd.yamagishi" vs "tsuyoshi.GrimTrigger"
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000
total score of tsuyoshi.GrimTrigger: 137332.000, per stage: 4.000

Game 87: "yamagishi_impd.yamagishi" vs "gistfile1.MyStrategy"
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000
total score of gistfile1.MyStrategy: 137332.000, per stage: 4.000

Game 88: "yamagishi_impd.yamagishi" vs "beeleb_Strategy.beeleb"
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000
total score of beeleb_Strategy.beeleb: 137332.000, per stage: 4.000

Game 89: "yamagishi_impd.yamagishi" vs "oyama.OyamaPerfectMonitoring"
total score of yamagishi_impd.yamagishi: 137332.000, per stage: 4.000
total score of oyama.OyamaPerfectMonitoring: 137332.000, per stage: 4.000

Game 90: "yamagishi_impd.yamagishi" vs "ogawa.ogawa"
total score of yamagishi_impd.yamagishi: 108533.000, per stage: 3.161
total score of ogawa.ogawa: 110588.000, per stage: 3.221

Score table:
[[      0.   95823.   60684.  147123.  124667.  147123.  147123.   95731.
   106996.  125711.]
 [ 104613.       0.   68666.  137332.  137332.  137332.  137332.  137332.
    95830.  137332.]
 [  85639.   73666.       0.  170665.  122374.  105625.   82174.   73666.
    76441.   73666.]
 [  98168.  137332.    4000.       0.  137332.  137332.  137332.  137332.
    83280.  137332.]
 [  88107.  137332.   36194.  137332.       0.  137332.  137332.  137332.
    92775.  137332.]
 [  98168.  137332.   47360.  137332.  137332.       0.  137332.  137332.
    99903.  137332.]
 [  98168.  137332.   62994.  137332.  137332.  137332.       0.  137332.
   105457.  137332.]
 [ 104721.  137332.   68666.  137332.  137332.  137332.  137332.       0.
    96821.  137332.]
 [  96396.   93930.   66816.  150845.  125335.  125798.  117572.   95101.
        0.  110588.]
 [ 125166.  137332.   68666.  137332.  137332.  137332.  137332.  137332.
   108533.       0.]]

Ranking:
1. "yamagishi_impd.yamagishi"
total points: 1126357.000, average points per match: 125150.778, average points per stage: 3.645
2. "oyama.OyamaPerfectMonitoring"
total points: 1094200.000, average points per match: 121577.778, average points per stage: 3.541
3. "mhanami_Public_Strategy.PubStrategy"
total points: 1093101.000, average points per match: 121455.667, average points per stage: 3.538
4. "beeleb_Strategy.beeleb"
total points: 1090611.000, average points per match: 121179.000, average points per stage: 3.530
5. "gistfile1.MyStrategy"
total points: 1069423.000, average points per match: 118824.778, average points per stage: 3.461
6. "Iida_perfect_monitoring.Iida_pm"
total points: 1050981.000, average points per match: 116775.667, average points per stage: 3.401
7. "tsuyoshi.GrimTrigger"
total points: 1041068.000, average points per match: 115674.222, average points per stage: 3.369
8. "ikegami_perfect.Self_Centered_perfect"
total points: 1009440.000, average points per match: 112160.000, average points per stage: 3.267
9. "ogawa.ogawa"
total points: 982381.000, average points per match: 109153.444, average points per stage: 3.179
10. "kato.KatoStrategy"
total points: 863916.000, average points per match: 95990.667, average points per stage: 2.796

スコアテーブル

行: 利得を表示するプレイヤー 列: 対戦相手


In [7]:
score_perfect = np.array([[0, 96040, 60464, 147123, 124298, 147123, 147123, 95809, 106699, 126331],
[104995, 0, 68666, 137332, 137332, 137332, 137332, 137332, 97073, 137332],
[85969, 73666, 0, 170665, 122335, 104554, 82174, 73666, 76420, 73666],
[98168, 137332, 4000, 0, 137332, 137332, 137332, 137332, 83376, 137332],
[88338, 137332, 36220, 137332, 0, 137332, 137332, 137332, 93425, 137332],
[98168, 137332, 48074, 137332, 137332, 0, 137332, 137332, 99883, 137332],
[98168, 137332, 62994, 137332, 137332, 137332, 0, 137332, 105660, 137332],
[104604, 137332, 68666, 137332, 137332, 137332, 137332, 0, 96651, 137332],
[96454, 95428, 66830, 150821, 126385, 125958, 117485, 94806, 0, 110390],
[125791, 137332, 68666, 137332, 137332, 137332, 137332, 137332, 108350, 0]], dtype=float)

score_perfect /= 34333
score_perfect = pd.DataFrame(score_perfect)

print(score_perfect)


       0      1      2      3      4      5      6      7      8      9
0  0.000  2.797  1.761  4.285  3.620  4.285  4.285  2.791  3.108  3.680
1  3.058  0.000  2.000  4.000  4.000  4.000  4.000  4.000  2.827  4.000
2  2.504  2.146  0.000  4.971  3.563  3.045  2.393  2.146  2.226  2.146
3  2.859  4.000  0.117  0.000  4.000  4.000  4.000  4.000  2.428  4.000
4  2.573  4.000  1.055  4.000  0.000  4.000  4.000  4.000  2.721  4.000
5  2.859  4.000  1.400  4.000  4.000  0.000  4.000  4.000  2.909  4.000
6  2.859  4.000  1.835  4.000  4.000  4.000  0.000  4.000  3.078  4.000
7  3.047  4.000  2.000  4.000  4.000  4.000  4.000  0.000  2.815  4.000
8  2.809  2.779  1.947  4.393  3.681  3.669  3.422  2.761  0.000  3.215
9  3.664  4.000  2.000  4.000  4.000  4.000  4.000  4.000  3.156  0.000
Iida_pmPubStrategyKatoStrategySelf_Centered_perfectGrimTriggerMyStrategybeelebOyamaImperfectPerfectMonitoringogawayamagishi
Iida_pm0.0002.7971.7614.2853.6204.2854.2852.7913.1083.680
PubStrategy3.0580.0002.0004.0004.0004.0004.0004.0002.8274.000
KatoStrategy2.5042.1460.0004.9713.5633.0452.3932.1462.2262.146
Self_Centered_perfect2.8594.0000.1170.0004.0004.0004.0004.0002.4284.000
GrimTrigger2.5734.0001.0554.0000.0004.0004.0004.0002.7214.000
MyStrategy2.8594.0001.4004.0004.0000.0004.0004.0002.9094.000
beeleb2.8594.0001.8354.0004.0004.0000.0004.0003.0784.000
OyamaPerfectMonitoring3.0474.0002.0004.0004.0004.0004.0000.0002.8154.000
ogawa2.8092.7791.9474.3933.6813.6693.4222.7610.0003.215
yamagishi3.6644.0002.0004.0004.0004.0004.0004.0003.1560.000

グラフを出力

各対戦、各periodにおいて、それぞれのプレイヤーがCooperationをとっている割合


In [8]:
def normalize(array_2d):
    copy_array = np.array(array_2d, dtype=float)
    for v in copy_array:
        total = np.sum(v)
        v /= total
    return copy_array


def __plotC__(periods, action1, action2, **kwargs):
    period_max = kwargs.get('period_max', np.max(periods)+1)
    title = kwargs.get('title', None)
    
    fig, ax = plt.subplots(figsize=(20, 5))
    plt.xlim(-1, period_max)
    plt.ylim(-0.1, 1.1)
    plt.plot(periods, action1, color='c', label='player1 Cooperate %')
    plt.plot(periods, action2, color='r', label='player2 Cooperate %')
    if title:
        plt.title(title)
    
    plt.legend()
    plt.show()


# period毎にどの程度協力が行われているかをplot
def plotC(df):
    # 対戦組み合わせの数
    match_len = df['Match'].max() + 1

    # 1対戦のゲーム数
    round_len = df['Round'].max() + 1

    # 最長period
    period_max = df['Period'].max() + 1

    for m in range(match_len):
        df_match = df[df_perfect.Match == m].reset_index()
        str1 = df_match['Strategy1'][0]
        str2 = df_match['Strategy2'][0]
        df_match_s = df_match.loc[:, ["Round", "Period", "Action1", "Action2"]]
        df_match_np = df_match_s.as_matrix()

        periods = np.arange(period_max)
        action1 = np.zeros((period_max, 2), dtype=int)
        action2 = np.zeros((period_max, 2), dtype=int)

        for r in range(round_len):
            df_round = df_match_np[df_match_np[:, 0] == r]
            period_len = int(df_round[:, 1].max()+1)
            for p in range(period_len):
                stage_df = df_round[df_round[:, 1] == p]
                stage_action1 = stage_df[:, 2]
                stage_action2 = stage_df[:, 3]

                if stage_action1 == 0:
                    action1[p, 0]  += 1
                else:
                    action1[p, 1] += 1

                if stage_action2 == 0:
                    action2[p, 0]  += 1
                else:
                    action2[p, 1] += 1
                    
        action1 = normalize(action1)
        action2 = normalize(action2)
        __plotC__(periods, action1[:, 0], action2[:, 0], period_max=100, title='{0}  VS  {1}'.format(str1, str2))

        
# 結果の読み込み
df_perfect = pd.read_csv("record_perfect.csv")
plotC(df_perfect)


各対戦、ゲーム毎の平均利得分布


In [9]:
def __plotAve__(ts_length, ave_payoff1, ave_payoff2, **kwargs):
    title = kwargs.get('title', None)
    fig = plt.figure(figsize=(18, 5)) 
    
    weight1 = np.ones_like(ave_payoff1)/ts_length/100
    ax1 = plt.subplot(1, 2, 1)
    ax1.hist(ave_payoff1, bins=20, range=(0, 5), weights=weight1, normed=False, facecolor='g', alpha=0.8, label='player1')
    plt.legend()
    ax1.grid(True)
    
    weight2 = np.ones_like(ave_payoff2)/ts_length/100
    ax2 = plt.subplot(1, 2, 2, sharex=ax1, sharey=ax1)
    ax2.hist(ave_payoff2, bins=20, range=(0, 5), weights=weight2, normed=False, facecolor='g', alpha=0.8, label='player2')
    plt.legend()
    ax2.grid(True)
    
    mu1 = np.mean(ave_payoff1)
    mu2 = np.mean(ave_payoff2)
    ax1.axvline(x=mu1, linewidth=2, color='r')
    ax2.axvline(x=mu2, linewidth=2, color='r')
    plt.ylim(0, 1)
    ax1.text(0.1, 0.9, "average = {0:.2f}".format(mu1), size=12)
    ax2.text(0.1, 0.9, "average = {0:.2f}".format(mu2), size=12)

    if title:
        plt.suptitle(title, size=14)
    plt.show()


def plotAve(df):
    # 対戦組み合わせの数
    match_len = df['Match'].max() + 1

    # 1対戦のゲーム数
    round_len = df['Round'].max() + 1

    # 最長period
    period_max = df['Period'].max() + 1

    for m in range(match_len):
        df_match = df[df.Match == m].reset_index()
        str1 = df_match['Strategy1'][0]
        str2 = df_match['Strategy2'][0]
        df_match_s = df_match.loc[:, ["Round", "Period", "Payoff1", "Payoff2"]]
        df_match_np = df_match_s.as_matrix()

        periods = np.arange(period_max)
        ave_payoff1 = np.zeros(round_len, dtype=float)
        ave_payoff2 = np.zeros(round_len, dtype=float)

        for r in range(round_len):
            df_round = df_match_np[df_match_np[:, 0] == r]
            period_len = int(df_round[:, 1].max()+1)
            ave_payoff1[r] = df_round[:, 2].mean()
            ave_payoff2[r] = df_round[:, 3].mean()

        __plotAve__(ts_length, ave_payoff1, ave_payoff2, title='{0}  /  {1}  average payoff distribution'.format(str1, str2))
        

# 結果の読み込み
df_perfect = pd.read_csv("record_perfect.csv")
plotAve(df_perfect)


Case2: Imperfect public monitoring


In [10]:
# プロジェクトが成功か失敗かを返す
def public_signal(actions):
    prob = rs.uniform()
    if actions[0] == 0 and actions[1] == 0:
        return 0 if prob < 0.9 else 1

    elif (actions[0] == 0 and actions[1] == 1) or (actions[0] == 1 and actions[1] == 0):
        return 0 if prob < 0.5 else 1

    elif actions[0] == 1 and actions[1] == 1:
        return 0 if prob < 0.2 else 1

    else:
        raise ValueError
        
strategies = [Iida_ipm, KatoStrategy, Self_Centered_public,
              ImPubStrategy, GrimTrigger, MyStrategy, beeleb, OyamaImperfectPublicMonitoring, ogawa, yamagishi]
game = pl.RepeatedMatrixGame(payoff, strategies, signal=public_signal, ts_length=ts_length, repeat=1000)
game.play(mtype="public", random_seed=seed, record=False)


Start
The object has 10 strategy functions below
****************************************
Iida_imperfect_public.Iida_ipm
kato.KatoStrategy
ikegami_imperfect_public.Self_Centered_public
mhanami_Imperfect_Public_Strategy.ImPubStrategy
tsuyoshi.GrimTrigger
gistfile1.MyStrategy
beeleb_Strategy.beeleb
oyama.OyamaImperfectPublicMonitoring
ogawa.ogawa
yamagishi_impd.yamagishi
****************************************
Repeats: 1000
Total time series length: 34333

Game 1: "Iida_imperfect_public.Iida_ipm" vs "kato.KatoStrategy"
total score of Iida_imperfect_public.Iida_ipm: 54398.000, per stage: 1.584
total score of kato.KatoStrategy: 95068.000, per stage: 2.769

Game 2: "Iida_imperfect_public.Iida_ipm" vs "ikegami_imperfect_public.Self_Centered_public"
total score of Iida_imperfect_public.Iida_ipm: 157243.000, per stage: 4.580
total score of ikegami_imperfect_public.Self_Centered_public: 57688.000, per stage: 1.680

Game 3: "Iida_imperfect_public.Iida_ipm" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of Iida_imperfect_public.Iida_ipm: 51002.000, per stage: 1.486
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 95162.000, per stage: 2.772

Game 4: "Iida_imperfect_public.Iida_ipm" vs "tsuyoshi.GrimTrigger"
total score of Iida_imperfect_public.Iida_ipm: 127446.000, per stage: 3.712
total score of tsuyoshi.GrimTrigger: 74731.000, per stage: 2.177

Game 5: "Iida_imperfect_public.Iida_ipm" vs "gistfile1.MyStrategy"
total score of Iida_imperfect_public.Iida_ipm: 142462.000, per stage: 4.149
total score of gistfile1.MyStrategy: 67987.000, per stage: 1.980

Game 6: "Iida_imperfect_public.Iida_ipm" vs "beeleb_Strategy.beeleb"
total score of Iida_imperfect_public.Iida_ipm: 138347.000, per stage: 4.030
total score of beeleb_Strategy.beeleb: 69502.000, per stage: 2.024

Game 7: "Iida_imperfect_public.Iida_ipm" vs "oyama.OyamaImperfectPublicMonitoring"
total score of Iida_imperfect_public.Iida_ipm: 87568.000, per stage: 2.551
total score of oyama.OyamaImperfectPublicMonitoring: 97498.000, per stage: 2.840

Game 8: "Iida_imperfect_public.Iida_ipm" vs "ogawa.ogawa"
total score of Iida_imperfect_public.Iida_ipm: 100961.000, per stage: 2.941
total score of ogawa.ogawa: 87296.000, per stage: 2.543

Game 9: "Iida_imperfect_public.Iida_ipm" vs "yamagishi_impd.yamagishi"
total score of Iida_imperfect_public.Iida_ipm: 106747.000, per stage: 3.109
total score of yamagishi_impd.yamagishi: 89082.000, per stage: 2.595

Game 10: "kato.KatoStrategy" vs "Iida_imperfect_public.Iida_ipm"
total score of kato.KatoStrategy: 95773.000, per stage: 2.790
total score of Iida_imperfect_public.Iida_ipm: 53928.000, per stage: 1.571

Game 11: "kato.KatoStrategy" vs "ikegami_imperfect_public.Self_Centered_public"
total score of kato.KatoStrategy: 170665.000, per stage: 4.971
total score of ikegami_imperfect_public.Self_Centered_public: 4000.000, per stage: 0.117

Game 12: "kato.KatoStrategy" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of kato.KatoStrategy: 66666.000, per stage: 1.942
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 71666.000, per stage: 2.087

Game 13: "kato.KatoStrategy" vs "tsuyoshi.GrimTrigger"
total score of kato.KatoStrategy: 133810.000, per stage: 3.897
total score of tsuyoshi.GrimTrigger: 28570.000, per stage: 0.832

Game 14: "kato.KatoStrategy" vs "gistfile1.MyStrategy"
total score of kato.KatoStrategy: 146611.000, per stage: 4.270
total score of gistfile1.MyStrategy: 20036.000, per stage: 0.584

Game 15: "kato.KatoStrategy" vs "beeleb_Strategy.beeleb"
total score of kato.KatoStrategy: 134653.000, per stage: 3.922
total score of beeleb_Strategy.beeleb: 28008.000, per stage: 0.816

Game 16: "kato.KatoStrategy" vs "oyama.OyamaImperfectPublicMonitoring"
total score of kato.KatoStrategy: 87481.000, per stage: 2.548
total score of oyama.OyamaImperfectPublicMonitoring: 59456.000, per stage: 1.732

Game 17: "kato.KatoStrategy" vs "ogawa.ogawa"
total score of kato.KatoStrategy: 106192.000, per stage: 3.093
total score of ogawa.ogawa: 46982.000, per stage: 1.368

Game 18: "kato.KatoStrategy" vs "yamagishi_impd.yamagishi"
total score of kato.KatoStrategy: 101800.000, per stage: 2.965
total score of yamagishi_impd.yamagishi: 49910.000, per stage: 1.454

Game 19: "ikegami_imperfect_public.Self_Centered_public" vs "Iida_imperfect_public.Iida_ipm"
total score of ikegami_imperfect_public.Self_Centered_public: 57960.000, per stage: 1.688
total score of Iida_imperfect_public.Iida_ipm: 157175.000, per stage: 4.578

Game 20: "ikegami_imperfect_public.Self_Centered_public" vs "kato.KatoStrategy"
total score of ikegami_imperfect_public.Self_Centered_public: 4000.000, per stage: 0.117
total score of kato.KatoStrategy: 170665.000, per stage: 4.971

Game 21: "ikegami_imperfect_public.Self_Centered_public" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of ikegami_imperfect_public.Self_Centered_public: 0.000, per stage: 0.000
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 171665.000, per stage: 5.000

Game 22: "ikegami_imperfect_public.Self_Centered_public" vs "tsuyoshi.GrimTrigger"
total score of ikegami_imperfect_public.Self_Centered_public: 116900.000, per stage: 3.405
total score of tsuyoshi.GrimTrigger: 142440.000, per stage: 4.149

Game 23: "ikegami_imperfect_public.Self_Centered_public" vs "gistfile1.MyStrategy"
total score of ikegami_imperfect_public.Self_Centered_public: 136116.000, per stage: 3.965
total score of gistfile1.MyStrategy: 137636.000, per stage: 4.009

Game 24: "ikegami_imperfect_public.Self_Centered_public" vs "beeleb_Strategy.beeleb"
total score of ikegami_imperfect_public.Self_Centered_public: 137156.000, per stage: 3.995
total score of beeleb_Strategy.beeleb: 137376.000, per stage: 4.001

Game 25: "ikegami_imperfect_public.Self_Centered_public" vs "oyama.OyamaImperfectPublicMonitoring"
total score of ikegami_imperfect_public.Self_Centered_public: 74340.000, per stage: 2.165
total score of oyama.OyamaImperfectPublicMonitoring: 153080.000, per stage: 4.459

Game 26: "ikegami_imperfect_public.Self_Centered_public" vs "ogawa.ogawa"
total score of ikegami_imperfect_public.Self_Centered_public: 81752.000, per stage: 2.381
total score of ogawa.ogawa: 151227.000, per stage: 4.405

Game 27: "ikegami_imperfect_public.Self_Centered_public" vs "yamagishi_impd.yamagishi"
total score of ikegami_imperfect_public.Self_Centered_public: 115956.000, per stage: 3.377
total score of yamagishi_impd.yamagishi: 142676.000, per stage: 4.156

Game 28: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "Iida_imperfect_public.Iida_ipm"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 94778.000, per stage: 2.761
total score of Iida_imperfect_public.Iida_ipm: 51258.000, per stage: 1.493

Game 29: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "kato.KatoStrategy"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 71666.000, per stage: 2.087
total score of kato.KatoStrategy: 66666.000, per stage: 1.942

Game 30: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "ikegami_imperfect_public.Self_Centered_public"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 171665.000, per stage: 5.000
total score of ikegami_imperfect_public.Self_Centered_public: 0.000, per stage: 0.000

Game 31: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "tsuyoshi.GrimTrigger"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 133448.000, per stage: 3.887
total score of tsuyoshi.GrimTrigger: 25478.000, per stage: 0.742

Game 32: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "gistfile1.MyStrategy"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 146909.000, per stage: 4.279
total score of gistfile1.MyStrategy: 16504.000, per stage: 0.481

Game 33: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "beeleb_Strategy.beeleb"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 135056.000, per stage: 3.934
total score of beeleb_Strategy.beeleb: 24406.000, per stage: 0.711

Game 34: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "oyama.OyamaImperfectPublicMonitoring"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 86504.000, per stage: 2.520
total score of oyama.OyamaImperfectPublicMonitoring: 56774.000, per stage: 1.654

Game 35: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "ogawa.ogawa"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 106694.000, per stage: 3.108
total score of ogawa.ogawa: 43314.000, per stage: 1.262

Game 36: "mhanami_Imperfect_Public_Strategy.ImPubStrategy" vs "yamagishi_impd.yamagishi"
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 101333.000, per stage: 2.951
total score of yamagishi_impd.yamagishi: 46888.000, per stage: 1.366

Game 37: "tsuyoshi.GrimTrigger" vs "Iida_imperfect_public.Iida_ipm"
total score of tsuyoshi.GrimTrigger: 74383.000, per stage: 2.167
total score of Iida_imperfect_public.Iida_ipm: 127978.000, per stage: 3.728

Game 38: "tsuyoshi.GrimTrigger" vs "kato.KatoStrategy"
total score of tsuyoshi.GrimTrigger: 28576.000, per stage: 0.832
total score of kato.KatoStrategy: 133801.000, per stage: 3.897

Game 39: "tsuyoshi.GrimTrigger" vs "ikegami_imperfect_public.Self_Centered_public"
total score of tsuyoshi.GrimTrigger: 142575.000, per stage: 4.153
total score of ikegami_imperfect_public.Self_Centered_public: 116360.000, per stage: 3.389

Game 40: "tsuyoshi.GrimTrigger" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of tsuyoshi.GrimTrigger: 24964.000, per stage: 0.727
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 134219.000, per stage: 3.909

Game 41: "tsuyoshi.GrimTrigger" vs "gistfile1.MyStrategy"
total score of tsuyoshi.GrimTrigger: 136968.000, per stage: 3.989
total score of gistfile1.MyStrategy: 117803.000, per stage: 3.431

Game 42: "tsuyoshi.GrimTrigger" vs "beeleb_Strategy.beeleb"
total score of tsuyoshi.GrimTrigger: 139052.000, per stage: 4.050
total score of beeleb_Strategy.beeleb: 118262.000, per stage: 3.445

Game 43: "tsuyoshi.GrimTrigger" vs "oyama.OyamaImperfectPublicMonitoring"
total score of tsuyoshi.GrimTrigger: 75847.000, per stage: 2.209
total score of oyama.OyamaImperfectPublicMonitoring: 128642.000, per stage: 3.747

Game 44: "tsuyoshi.GrimTrigger" vs "ogawa.ogawa"
total score of tsuyoshi.GrimTrigger: 89436.000, per stage: 2.605
total score of ogawa.ogawa: 126331.000, per stage: 3.680

Game 45: "tsuyoshi.GrimTrigger" vs "yamagishi_impd.yamagishi"
total score of tsuyoshi.GrimTrigger: 113786.000, per stage: 3.314
total score of yamagishi_impd.yamagishi: 127341.000, per stage: 3.709

Game 46: "gistfile1.MyStrategy" vs "Iida_imperfect_public.Iida_ipm"
total score of gistfile1.MyStrategy: 67890.000, per stage: 1.977
total score of Iida_imperfect_public.Iida_ipm: 142525.000, per stage: 4.151

Game 47: "gistfile1.MyStrategy" vs "kato.KatoStrategy"
total score of gistfile1.MyStrategy: 19954.000, per stage: 0.581
total score of kato.KatoStrategy: 146734.000, per stage: 4.274

Game 48: "gistfile1.MyStrategy" vs "ikegami_imperfect_public.Self_Centered_public"
total score of gistfile1.MyStrategy: 137629.000, per stage: 4.009
total score of ikegami_imperfect_public.Self_Centered_public: 136144.000, per stage: 3.965

Game 49: "gistfile1.MyStrategy" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of gistfile1.MyStrategy: 16362.000, per stage: 0.477
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 147122.000, per stage: 4.285

Game 50: "gistfile1.MyStrategy" vs "tsuyoshi.GrimTrigger"
total score of gistfile1.MyStrategy: 118999.000, per stage: 3.466
total score of tsuyoshi.GrimTrigger: 136719.000, per stage: 3.982

Game 51: "gistfile1.MyStrategy" vs "beeleb_Strategy.beeleb"
total score of gistfile1.MyStrategy: 136893.000, per stage: 3.987
total score of beeleb_Strategy.beeleb: 136053.000, per stage: 3.963

Game 52: "gistfile1.MyStrategy" vs "oyama.OyamaImperfectPublicMonitoring"
total score of gistfile1.MyStrategy: 77158.000, per stage: 2.247
total score of oyama.OyamaImperfectPublicMonitoring: 140988.000, per stage: 4.106

Game 53: "gistfile1.MyStrategy" vs "ogawa.ogawa"
total score of gistfile1.MyStrategy: 87540.000, per stage: 2.550
total score of ogawa.ogawa: 141335.000, per stage: 4.117

Game 54: "gistfile1.MyStrategy" vs "yamagishi_impd.yamagishi"
total score of gistfile1.MyStrategy: 116560.000, per stage: 3.395
total score of yamagishi_impd.yamagishi: 135560.000, per stage: 3.948

Game 55: "beeleb_Strategy.beeleb" vs "Iida_imperfect_public.Iida_ipm"
total score of beeleb_Strategy.beeleb: 70837.000, per stage: 2.063
total score of Iida_imperfect_public.Iida_ipm: 138057.000, per stage: 4.021

Game 56: "beeleb_Strategy.beeleb" vs "kato.KatoStrategy"
total score of beeleb_Strategy.beeleb: 28216.000, per stage: 0.822
total score of kato.KatoStrategy: 134341.000, per stage: 3.913

Game 57: "beeleb_Strategy.beeleb" vs "ikegami_imperfect_public.Self_Centered_public"
total score of beeleb_Strategy.beeleb: 137353.000, per stage: 4.001
total score of ikegami_imperfect_public.Self_Centered_public: 137248.000, per stage: 3.998

Game 58: "beeleb_Strategy.beeleb" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of beeleb_Strategy.beeleb: 24758.000, per stage: 0.721
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 134528.000, per stage: 3.918

Game 59: "beeleb_Strategy.beeleb" vs "tsuyoshi.GrimTrigger"
total score of beeleb_Strategy.beeleb: 117300.000, per stage: 3.417
total score of tsuyoshi.GrimTrigger: 139400.000, per stage: 4.060

Game 60: "beeleb_Strategy.beeleb" vs "gistfile1.MyStrategy"
total score of beeleb_Strategy.beeleb: 136108.000, per stage: 3.964
total score of gistfile1.MyStrategy: 136643.000, per stage: 3.980

Game 61: "beeleb_Strategy.beeleb" vs "oyama.OyamaImperfectPublicMonitoring"
total score of beeleb_Strategy.beeleb: 84368.000, per stage: 2.457
total score of oyama.OyamaImperfectPublicMonitoring: 133698.000, per stage: 3.894

Game 62: "beeleb_Strategy.beeleb" vs "ogawa.ogawa"
total score of beeleb_Strategy.beeleb: 90952.000, per stage: 2.649
total score of ogawa.ogawa: 135622.000, per stage: 3.950

Game 63: "beeleb_Strategy.beeleb" vs "yamagishi_impd.yamagishi"
total score of beeleb_Strategy.beeleb: 115621.000, per stage: 3.368
total score of yamagishi_impd.yamagishi: 135566.000, per stage: 3.949

Game 64: "oyama.OyamaImperfectPublicMonitoring" vs "Iida_imperfect_public.Iida_ipm"
total score of oyama.OyamaImperfectPublicMonitoring: 97392.000, per stage: 2.837
total score of Iida_imperfect_public.Iida_ipm: 86047.000, per stage: 2.506

Game 65: "oyama.OyamaImperfectPublicMonitoring" vs "kato.KatoStrategy"
total score of oyama.OyamaImperfectPublicMonitoring: 59464.000, per stage: 1.732
total score of kato.KatoStrategy: 87469.000, per stage: 2.548

Game 66: "oyama.OyamaImperfectPublicMonitoring" vs "ikegami_imperfect_public.Self_Centered_public"
total score of oyama.OyamaImperfectPublicMonitoring: 154491.000, per stage: 4.500
total score of ikegami_imperfect_public.Self_Centered_public: 68696.000, per stage: 2.001

Game 67: "oyama.OyamaImperfectPublicMonitoring" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of oyama.OyamaImperfectPublicMonitoring: 57062.000, per stage: 1.662
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 86072.000, per stage: 2.507

Game 68: "oyama.OyamaImperfectPublicMonitoring" vs "tsuyoshi.GrimTrigger"
total score of oyama.OyamaImperfectPublicMonitoring: 128663.000, per stage: 3.748
total score of tsuyoshi.GrimTrigger: 74208.000, per stage: 2.161

Game 69: "oyama.OyamaImperfectPublicMonitoring" vs "gistfile1.MyStrategy"
total score of oyama.OyamaImperfectPublicMonitoring: 141081.000, per stage: 4.109
total score of gistfile1.MyStrategy: 78401.000, per stage: 2.284

Game 70: "oyama.OyamaImperfectPublicMonitoring" vs "beeleb_Strategy.beeleb"
total score of oyama.OyamaImperfectPublicMonitoring: 135246.000, per stage: 3.939
total score of beeleb_Strategy.beeleb: 84596.000, per stage: 2.464

Game 71: "oyama.OyamaImperfectPublicMonitoring" vs "ogawa.ogawa"
total score of oyama.OyamaImperfectPublicMonitoring: 104373.000, per stage: 3.040
total score of ogawa.ogawa: 92248.000, per stage: 2.687

Game 72: "oyama.OyamaImperfectPublicMonitoring" vs "yamagishi_impd.yamagishi"
total score of oyama.OyamaImperfectPublicMonitoring: 108715.000, per stage: 3.166
total score of yamagishi_impd.yamagishi: 89790.000, per stage: 2.615

Game 73: "ogawa.ogawa" vs "Iida_imperfect_public.Iida_ipm"
total score of ogawa.ogawa: 88058.000, per stage: 2.565
total score of Iida_imperfect_public.Iida_ipm: 100623.000, per stage: 2.931

Game 74: "ogawa.ogawa" vs "kato.KatoStrategy"
total score of ogawa.ogawa: 47088.000, per stage: 1.372
total score of kato.KatoStrategy: 106033.000, per stage: 3.088

Game 75: "ogawa.ogawa" vs "ikegami_imperfect_public.Self_Centered_public"
total score of ogawa.ogawa: 151241.000, per stage: 4.405
total score of ikegami_imperfect_public.Self_Centered_public: 81696.000, per stage: 2.380

Game 76: "ogawa.ogawa" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of ogawa.ogawa: 43536.000, per stage: 1.268
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 106361.000, per stage: 3.098

Game 77: "ogawa.ogawa" vs "tsuyoshi.GrimTrigger"
total score of ogawa.ogawa: 125208.000, per stage: 3.647
total score of tsuyoshi.GrimTrigger: 89863.000, per stage: 2.617

Game 78: "ogawa.ogawa" vs "gistfile1.MyStrategy"
total score of ogawa.ogawa: 141059.000, per stage: 4.109
total score of gistfile1.MyStrategy: 87144.000, per stage: 2.538

Game 79: "ogawa.ogawa" vs "beeleb_Strategy.beeleb"
total score of ogawa.ogawa: 136809.000, per stage: 3.985
total score of beeleb_Strategy.beeleb: 90569.000, per stage: 2.638

Game 80: "ogawa.ogawa" vs "oyama.OyamaImperfectPublicMonitoring"
total score of ogawa.ogawa: 92787.000, per stage: 2.703
total score of oyama.OyamaImperfectPublicMonitoring: 105107.000, per stage: 3.061

Game 81: "ogawa.ogawa" vs "yamagishi_impd.yamagishi"
total score of ogawa.ogawa: 109675.000, per stage: 3.194
total score of yamagishi_impd.yamagishi: 96355.000, per stage: 2.806

Game 82: "yamagishi_impd.yamagishi" vs "Iida_imperfect_public.Iida_ipm"
total score of yamagishi_impd.yamagishi: 88647.000, per stage: 2.582
total score of Iida_imperfect_public.Iida_ipm: 106427.000, per stage: 3.100

Game 83: "yamagishi_impd.yamagishi" vs "kato.KatoStrategy"
total score of yamagishi_impd.yamagishi: 49954.000, per stage: 1.455
total score of kato.KatoStrategy: 101734.000, per stage: 2.963

Game 84: "yamagishi_impd.yamagishi" vs "ikegami_imperfect_public.Self_Centered_public"
total score of yamagishi_impd.yamagishi: 142689.000, per stage: 4.156
total score of ikegami_imperfect_public.Self_Centered_public: 115904.000, per stage: 3.376

Game 85: "yamagishi_impd.yamagishi" vs "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total score of yamagishi_impd.yamagishi: 47046.000, per stage: 1.370
total score of mhanami_Imperfect_Public_Strategy.ImPubStrategy: 101096.000, per stage: 2.945

Game 86: "yamagishi_impd.yamagishi" vs "tsuyoshi.GrimTrigger"
total score of yamagishi_impd.yamagishi: 126929.000, per stage: 3.697
total score of tsuyoshi.GrimTrigger: 113174.000, per stage: 3.296

Game 87: "yamagishi_impd.yamagishi" vs "gistfile1.MyStrategy"
total score of yamagishi_impd.yamagishi: 135413.000, per stage: 3.944
total score of gistfile1.MyStrategy: 116048.000, per stage: 3.380

Game 88: "yamagishi_impd.yamagishi" vs "beeleb_Strategy.beeleb"
total score of yamagishi_impd.yamagishi: 135472.000, per stage: 3.946
total score of beeleb_Strategy.beeleb: 114597.000, per stage: 3.338

Game 89: "yamagishi_impd.yamagishi" vs "oyama.OyamaImperfectPublicMonitoring"
total score of yamagishi_impd.yamagishi: 88360.000, per stage: 2.574
total score of oyama.OyamaImperfectPublicMonitoring: 108885.000, per stage: 3.171

Game 90: "yamagishi_impd.yamagishi" vs "ogawa.ogawa"
total score of yamagishi_impd.yamagishi: 96404.000, per stage: 2.808
total score of ogawa.ogawa: 110714.000, per stage: 3.225

Score table:
[[      0.   53928.  157175.   51258.  127978.  142525.  138057.   86047.
   100623.  106427.]
 [  95773.       0.  170665.   66666.  133801.  146734.  134341.   87469.
   106033.  101734.]
 [  57960.    4000.       0.       0.  116360.  136144.  137248.   68696.
    81696.  115904.]
 [  94778.   71666.  171665.       0.  134219.  147122.  134528.   86072.
   106361.  101096.]
 [  74383.   28576.  142575.   24964.       0.  136719.  139400.   74208.
    89863.  113174.]
 [  67890.   19954.  137629.   16362.  118999.       0.  136643.   78401.
    87144.  116048.]
 [  70837.   28216.  137353.   24758.  117300.  136108.       0.   84596.
    90569.  114597.]
 [  97392.   59464.  154491.   57062.  128663.  141081.  135246.       0.
   105107.  108885.]
 [  88058.   47088.  151241.   43536.  125208.  141059.  136809.   92787.
        0.  110714.]
 [  88647.   49954.  142689.   47046.  126929.  135413.  135472.   88360.
    96404.       0.]]

Ranking:
1. "mhanami_Imperfect_Public_Strategy.ImPubStrategy"
total points: 1047507.000, average points per match: 116389.667, average points per stage: 3.390
2. "kato.KatoStrategy"
total points: 1043216.000, average points per match: 115912.889, average points per stage: 3.376
3. "oyama.OyamaImperfectPublicMonitoring"
total points: 987391.000, average points per match: 109710.111, average points per stage: 3.195
4. "Iida_imperfect_public.Iida_ipm"
total points: 964018.000, average points per match: 107113.111, average points per stage: 3.120
5. "ogawa.ogawa"
total points: 936500.000, average points per match: 104055.556, average points per stage: 3.031
6. "yamagishi_impd.yamagishi"
total points: 910914.000, average points per match: 101212.667, average points per stage: 2.948
7. "tsuyoshi.GrimTrigger"
total points: 823862.000, average points per match: 91540.222, average points per stage: 2.666
8. "beeleb_Strategy.beeleb"
total points: 804334.000, average points per match: 89370.444, average points per stage: 2.603
9. "gistfile1.MyStrategy"
total points: 779070.000, average points per match: 86563.333, average points per stage: 2.521
10. "ikegami_imperfect_public.Self_Centered_public"
total points: 718008.000, average points per match: 79778.667, average points per stage: 2.324

スコアテーブル

行: 利得を表示するプレイヤー 列: 対戦相手


In [11]:
score_public = np.array([[0, 54398, 157243, 51002, 127446, 142462, 138347, 87568, 100961, 106747], 
 [95068, 0, 170665, 66666, 134419, 147247, 134836, 87358, 105889, 101710], 
 [57688, 4000, 0, 0, 117668, 136032, 137264, 70068, 81900, 115748], 
 [95162, 71666, 171665, 0, 134240, 147719, 135476, 86936, 106589, 100757], 
 [74731, 28164, 142248, 24950, 0, 137083, 138749, 75810, 90198, 114085], 
 [67987, 19612, 137657, 15964, 117708, 0,136851, 75450, 87852, 116362], 
 [69502, 27886, 137349, 24126, 117904, 136161, 0, 82602, 90045, 115409], 
 [97498, 59538, 154148, 56486, 129200, 141190, 134897, 0, 104634, 109458], 
 [87296, 47184, 151190, 43384, 125223, 140727, 137015, 92504, 0, 110338], 
 [89082, 49970, 142728, 47272, 127345, 135922, 135634, 89598, 96163, 0]], dtype=float)

score_public /= 34333
score_public = pd.DataFrame(score_public)

print(score_public)


       0      1      2      3      4      5      6      7      8      9
0  0.000  1.584  4.580  1.486  3.712  4.149  4.030  2.551  2.941  3.109
1  2.769  0.000  4.971  1.942  3.915  4.289  3.927  2.544  3.084  2.962
2  1.680  0.117  0.000  0.000  3.427  3.962  3.998  2.041  2.385  3.371
3  2.772  2.087  5.000  0.000  3.910  4.303  3.946  2.532  3.105  2.935
4  2.177  0.820  4.143  0.727  0.000  3.993  4.041  2.208  2.627  3.323
5  1.980  0.571  4.009  0.465  3.428  0.000  3.986  2.198  2.559  3.389
6  2.024  0.812  4.000  0.703  3.434  3.966  0.000  2.406  2.623  3.361
7  2.840  1.734  4.490  1.645  3.763  4.112  3.929  0.000  3.048  3.188
8  2.543  1.374  4.404  1.264  3.647  4.099  3.991  2.694  0.000  3.214
9  2.595  1.455  4.157  1.377  3.709  3.959  3.951  2.610  2.801  0.000
Iida_ipmKatoStrategySelf_Centered_publicImPubStrategyGrimTriggerMyStrategybeelebOyamaImperfectPublicogawayamagishi
Iida_ipm0.0001.5844.5801.4863.7124.1494.0302.5512.9413.109
KatoStrategy2.7690.0004.9711.9423.9154.2893.9272.5443.0842.962
Self_Centered_public1.6800.1170.0000.0003.4273.9623.9982.0412.3853.371
ImPubStrategy2.7722.0875.0000.0003.9104.3033.9462.5323.1052.935
GrimTrigger2.1770.8204.1430.7270.0003.9934.0412.2082.6273.323
MyStrategy1.9800.5714.0090.4653.4280.0003.9862.1982.5593.389
beeleb2.0240.8124.0000.7033.4343.9660.0002.4062.6233.361
OyamaImperfectPublic2.8401.7344.4901.6453.7634.1123.9290.0003.0483.188
ogawa2.5431.3744.4041.2643.6474.0993.9912.6940.0003.214
yamagishi2.5951.4554.1571.3773.7093.9593.9512.6102.8010.000

グラフを出力

Cooperationの割合


In [12]:
# 結果の読み込み
df_public = pd.read_csv("record_imperfect_public.csv")
plotC(df_public)


平均利得分布


In [13]:
# 結果の読み込み
df_public = pd.read_csv("record_imperfect_public.csv")
plotAve(df_public)


Case3: Imperfect private monitoring


In [3]:
# 「相手の」シグナルが協調か攻撃かを(ノイズ付きで)返す
def private_signal(actions):
    pattern = [[0, 0], [0, 1], [1, 0], [1, 1]]
    # 例えば実際の行動が(0, 1)なら、シグナルは(1, 0)である可能性が最も高い
    signal_probs = [[.9, .02, .02, .06], [.02, .06, .9, .02], [.02, .9, .06, .02], [.06, .02, .02, .9]]
    prob = rs.uniform()
    if actions[0] == 0 and actions[1] == 0:
        choice = rs.choice(4, p=signal_probs[0])
        return pattern[choice]

    elif actions[0] == 0 and actions[1] == 1:
        choice = rs.choice(4, p=signal_probs[1])
        return pattern[choice]

    elif actions[0] == 1 and actions[1] == 0:
        choice = rs.choice(4, p=signal_probs[2])
        return pattern[choice]

    elif actions[0] == 1 and actions[1] == 1:
        choice = rs.choice(4, p=signal_probs[3])
        return pattern[choice]

    else:
        raise ValueError

strategies = [Iida_iprm, KatoStrategy, Self_Centered_private,
              ImPrivStrategy, GrimTrigger, MyStrategy, beeleb, OyamaImperfectPrivateMonitoring, ogawa, yamagishi]
game = pl.RepeatedMatrixGame(payoff, strategies, signal=private_signal, ts_length=ts_length, repeat=1000)
game.play(mtype="private", random_seed=seed, record=False)


Start
The object has 10 strategy functions below
--------------------------------------------------
1 Iida_imperfect_private.Iida_iprm
2 kato.KatoStrategy
3 ikegami_imperfect_private.Self_Centered_private
4 mhanami_Imperfect_Private_Strategy.ImPrivStrategy
5 tsuyoshi.GrimTrigger
6 gistfile1.MyStrategy
7 beeleb_Strategy.beeleb
8 oyama.OyamaImperfectPrivateMonitoring
9 ogawa.ogawa
10 yamagishi_impd.yamagishi
--------------------------------------------------
Repeats: 1000
Total time series length: 34333

Game 1: "Iida_imperfect_private.Iida_iprm" vs "kato.KatoStrategy"
Iida_imperfect_private.Iida_iprm: session average is 1.665, stage average is 1.625
kato.KatoStrategy: session average is 2.899, stage average is 2.709

Game 2: "Iida_imperfect_private.Iida_iprm" vs "ikegami_imperfect_private.Self_Centered_private"
Iida_imperfect_private.Iida_iprm: session average is 4.314, stage average is 4.467
ikegami_imperfect_private.Self_Centered_private: session average is 2.746, stage average is 2.132

Game 3: "Iida_imperfect_private.Iida_iprm" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
Iida_imperfect_private.Iida_iprm: session average is 3.381, stage average is 3.134
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.158, stage average is 2.875

Game 4: "Iida_imperfect_private.Iida_iprm" vs "tsuyoshi.GrimTrigger"
Iida_imperfect_private.Iida_iprm: session average is 3.533, stage average is 3.388
tsuyoshi.GrimTrigger: session average is 2.858, stage average is 2.366

Game 5: "Iida_imperfect_private.Iida_iprm" vs "gistfile1.MyStrategy"
Iida_imperfect_private.Iida_iprm: session average is 4.010, stage average is 4.011
gistfile1.MyStrategy: session average is 3.059, stage average is 2.679

Game 6: "Iida_imperfect_private.Iida_iprm" vs "beeleb_Strategy.beeleb"
Iida_imperfect_private.Iida_iprm: session average is 3.972, stage average is 3.870
beeleb_Strategy.beeleb: session average is 3.065, stage average is 2.763

Game 7: "Iida_imperfect_private.Iida_iprm" vs "oyama.OyamaImperfectPrivateMonitoring"
Iida_imperfect_private.Iida_iprm: session average is 3.363, stage average is 3.054
oyama.OyamaImperfectPrivateMonitoring: session average is 3.192, stage average is 2.899

Game 8: "Iida_imperfect_private.Iida_iprm" vs "ogawa.ogawa"
Iida_imperfect_private.Iida_iprm: session average is 3.439, stage average is 2.943
ogawa.ogawa: session average is 3.060, stage average is 2.812

Game 9: "Iida_imperfect_private.Iida_iprm" vs "yamagishi_impd.yamagishi"
Iida_imperfect_private.Iida_iprm: session average is 3.297, stage average is 3.117
yamagishi_impd.yamagishi: session average is 3.364, stage average is 3.196

Game 10: "kato.KatoStrategy" vs "Iida_imperfect_private.Iida_iprm"
kato.KatoStrategy: session average is 2.913, stage average is 2.713
Iida_imperfect_private.Iida_iprm: session average is 1.656, stage average is 1.622

Game 11: "kato.KatoStrategy" vs "ikegami_imperfect_private.Self_Centered_private"
kato.KatoStrategy: session average is 4.921, stage average is 4.971
ikegami_imperfect_private.Self_Centered_private: session average is 0.318, stage average is 0.117

Game 12: "kato.KatoStrategy" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
kato.KatoStrategy: session average is 2.639, stage average is 2.275
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 1.839, stage average is 1.914

Game 13: "kato.KatoStrategy" vs "tsuyoshi.GrimTrigger"
kato.KatoStrategy: session average is 3.650, stage average is 3.557
tsuyoshi.GrimTrigger: session average is 1.165, stage average is 1.059

Game 14: "kato.KatoStrategy" vs "gistfile1.MyStrategy"
kato.KatoStrategy: session average is 3.550, stage average is 3.349
gistfile1.MyStrategy: session average is 1.232, stage average is 1.198

Game 15: "kato.KatoStrategy" vs "beeleb_Strategy.beeleb"
kato.KatoStrategy: session average is 3.048, stage average is 2.552
beeleb_Strategy.beeleb: session average is 1.566, stage average is 1.729

Game 16: "kato.KatoStrategy" vs "oyama.OyamaImperfectPrivateMonitoring"
kato.KatoStrategy: session average is 2.924, stage average is 2.525
oyama.OyamaImperfectPrivateMonitoring: session average is 1.649, stage average is 1.747

Game 17: "kato.KatoStrategy" vs "ogawa.ogawa"
kato.KatoStrategy: session average is 2.853, stage average is 2.465
ogawa.ogawa: session average is 1.696, stage average is 1.787

Game 18: "kato.KatoStrategy" vs "yamagishi_impd.yamagishi"
kato.KatoStrategy: session average is 2.587, stage average is 2.373
yamagishi_impd.yamagishi: session average is 1.874, stage average is 1.849

Game 19: "ikegami_imperfect_private.Self_Centered_private" vs "Iida_imperfect_private.Iida_iprm"
ikegami_imperfect_private.Self_Centered_private: session average is 2.756, stage average is 2.158
Iida_imperfect_private.Iida_iprm: session average is 4.311, stage average is 4.461

Game 20: "ikegami_imperfect_private.Self_Centered_private" vs "kato.KatoStrategy"
ikegami_imperfect_private.Self_Centered_private: session average is 0.318, stage average is 0.117
kato.KatoStrategy: session average is 4.921, stage average is 4.971

Game 21: "ikegami_imperfect_private.Self_Centered_private" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
ikegami_imperfect_private.Self_Centered_private: session average is 3.953, stage average is 3.947
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 4.012, stage average is 4.013

Game 22: "ikegami_imperfect_private.Self_Centered_private" vs "tsuyoshi.GrimTrigger"
ikegami_imperfect_private.Self_Centered_private: session average is 2.901, stage average is 2.541
tsuyoshi.GrimTrigger: session average is 4.275, stage average is 4.365

Game 23: "ikegami_imperfect_private.Self_Centered_private" vs "gistfile1.MyStrategy"
ikegami_imperfect_private.Self_Centered_private: session average is 3.984, stage average is 3.983
gistfile1.MyStrategy: session average is 4.004, stage average is 4.004

Game 24: "ikegami_imperfect_private.Self_Centered_private" vs "beeleb_Strategy.beeleb"
ikegami_imperfect_private.Self_Centered_private: session average is 4.000, stage average is 3.999
beeleb_Strategy.beeleb: session average is 4.000, stage average is 4.000

Game 25: "ikegami_imperfect_private.Self_Centered_private" vs "oyama.OyamaImperfectPrivateMonitoring"
ikegami_imperfect_private.Self_Centered_private: session average is 3.751, stage average is 3.700
oyama.OyamaImperfectPrivateMonitoring: session average is 4.062, stage average is 4.075

Game 26: "ikegami_imperfect_private.Self_Centered_private" vs "ogawa.ogawa"
ikegami_imperfect_private.Self_Centered_private: session average is 3.219, stage average is 2.408
ogawa.ogawa: session average is 4.195, stage average is 4.398

Game 27: "ikegami_imperfect_private.Self_Centered_private" vs "yamagishi_impd.yamagishi"
ikegami_imperfect_private.Self_Centered_private: session average is 3.702, stage average is 3.692
yamagishi_impd.yamagishi: session average is 4.075, stage average is 4.077

Game 28: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "Iida_imperfect_private.Iida_iprm"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.216, stage average is 2.918
Iida_imperfect_private.Iida_iprm: session average is 3.423, stage average is 3.154

Game 29: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "kato.KatoStrategy"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 1.825, stage average is 1.905
kato.KatoStrategy: session average is 2.659, stage average is 2.288

Game 30: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "ikegami_imperfect_private.Self_Centered_private"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 4.012, stage average is 4.013
ikegami_imperfect_private.Self_Centered_private: session average is 3.953, stage average is 3.949

Game 31: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "tsuyoshi.GrimTrigger"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.623, stage average is 3.539
tsuyoshi.GrimTrigger: session average is 3.554, stage average is 3.374

Game 32: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "gistfile1.MyStrategy"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.974, stage average is 3.966
gistfile1.MyStrategy: session average is 3.929, stage average is 3.910

Game 33: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "beeleb_Strategy.beeleb"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.986, stage average is 3.973
beeleb_Strategy.beeleb: session average is 3.940, stage average is 3.923

Game 34: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "oyama.OyamaImperfectPrivateMonitoring"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.598, stage average is 3.427
oyama.OyamaImperfectPrivateMonitoring: session average is 3.656, stage average is 3.460

Game 35: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "ogawa.ogawa"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.469, stage average is 3.045
ogawa.ogawa: session average is 3.672, stage average is 3.272

Game 36: "mhanami_Imperfect_Private_Strategy.ImPrivStrategy" vs "yamagishi_impd.yamagishi"
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.335, stage average is 3.153
yamagishi_impd.yamagishi: session average is 3.410, stage average is 3.195

Game 37: "tsuyoshi.GrimTrigger" vs "Iida_imperfect_private.Iida_iprm"
tsuyoshi.GrimTrigger: session average is 2.859, stage average is 2.399
Iida_imperfect_private.Iida_iprm: session average is 3.543, stage average is 3.390

Game 38: "tsuyoshi.GrimTrigger" vs "kato.KatoStrategy"
tsuyoshi.GrimTrigger: session average is 1.158, stage average is 1.048
kato.KatoStrategy: session average is 3.661, stage average is 3.574

Game 39: "tsuyoshi.GrimTrigger" vs "ikegami_imperfect_private.Self_Centered_private"
tsuyoshi.GrimTrigger: session average is 4.268, stage average is 4.364
ikegami_imperfect_private.Self_Centered_private: session average is 2.928, stage average is 2.544

Game 40: "tsuyoshi.GrimTrigger" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
tsuyoshi.GrimTrigger: session average is 3.520, stage average is 3.332
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.632, stage average is 3.539

Game 41: "tsuyoshi.GrimTrigger" vs "gistfile1.MyStrategy"
tsuyoshi.GrimTrigger: session average is 3.893, stage average is 3.864
gistfile1.MyStrategy: session average is 3.521, stage average is 3.444

Game 42: "tsuyoshi.GrimTrigger" vs "beeleb_Strategy.beeleb"
tsuyoshi.GrimTrigger: session average is 3.819, stage average is 3.710
beeleb_Strategy.beeleb: session average is 3.451, stage average is 3.341

Game 43: "tsuyoshi.GrimTrigger" vs "oyama.OyamaImperfectPrivateMonitoring"
tsuyoshi.GrimTrigger: session average is 3.493, stage average is 3.326
oyama.OyamaImperfectPrivateMonitoring: session average is 3.487, stage average is 3.367

Game 44: "tsuyoshi.GrimTrigger" vs "ogawa.ogawa"
tsuyoshi.GrimTrigger: session average is 3.241, stage average is 2.627
ogawa.ogawa: session average is 3.517, stage average is 3.479

Game 45: "tsuyoshi.GrimTrigger" vs "yamagishi_impd.yamagishi"
tsuyoshi.GrimTrigger: session average is 3.481, stage average is 3.380
yamagishi_impd.yamagishi: session average is 3.650, stage average is 3.578

Game 46: "gistfile1.MyStrategy" vs "Iida_imperfect_private.Iida_iprm"
gistfile1.MyStrategy: session average is 3.028, stage average is 2.653
Iida_imperfect_private.Iida_iprm: session average is 3.999, stage average is 3.995

Game 47: "gistfile1.MyStrategy" vs "kato.KatoStrategy"
gistfile1.MyStrategy: session average is 1.247, stage average is 1.200
kato.KatoStrategy: session average is 3.526, stage average is 3.346

Game 48: "gistfile1.MyStrategy" vs "ikegami_imperfect_private.Self_Centered_private"
gistfile1.MyStrategy: session average is 4.004, stage average is 4.004
ikegami_imperfect_private.Self_Centered_private: session average is 3.986, stage average is 3.985

Game 49: "gistfile1.MyStrategy" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
gistfile1.MyStrategy: session average is 3.923, stage average is 3.897
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.970, stage average is 3.959

Game 50: "gistfile1.MyStrategy" vs "tsuyoshi.GrimTrigger"
gistfile1.MyStrategy: session average is 3.543, stage average is 3.457
tsuyoshi.GrimTrigger: session average is 3.894, stage average is 3.858

Game 51: "gistfile1.MyStrategy" vs "beeleb_Strategy.beeleb"
gistfile1.MyStrategy: session average is 4.002, stage average is 4.001
beeleb_Strategy.beeleb: session average is 3.986, stage average is 3.985

Game 52: "gistfile1.MyStrategy" vs "oyama.OyamaImperfectPrivateMonitoring"
gistfile1.MyStrategy: session average is 3.695, stage average is 3.627
oyama.OyamaImperfectPrivateMonitoring: session average is 3.928, stage average is 3.900

Game 53: "gistfile1.MyStrategy" vs "ogawa.ogawa"
gistfile1.MyStrategy: session average is 3.404, stage average is 2.823
ogawa.ogawa: session average is 3.901, stage average is 3.748

Game 54: "gistfile1.MyStrategy" vs "yamagishi_impd.yamagishi"
gistfile1.MyStrategy: session average is 3.625, stage average is 3.595
yamagishi_impd.yamagishi: session average is 3.949, stage average is 3.943

Game 55: "beeleb_Strategy.beeleb" vs "Iida_imperfect_private.Iida_iprm"
beeleb_Strategy.beeleb: session average is 3.102, stage average is 2.766
Iida_imperfect_private.Iida_iprm: session average is 3.972, stage average is 3.879

Game 56: "beeleb_Strategy.beeleb" vs "kato.KatoStrategy"
beeleb_Strategy.beeleb: session average is 1.562, stage average is 1.734
kato.KatoStrategy: session average is 3.054, stage average is 2.545

Game 57: "beeleb_Strategy.beeleb" vs "ikegami_imperfect_private.Self_Centered_private"
beeleb_Strategy.beeleb: session average is 4.000, stage average is 4.000
ikegami_imperfect_private.Self_Centered_private: session average is 3.999, stage average is 3.999

Game 58: "beeleb_Strategy.beeleb" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
beeleb_Strategy.beeleb: session average is 3.948, stage average is 3.930
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.985, stage average is 3.977

Game 59: "beeleb_Strategy.beeleb" vs "tsuyoshi.GrimTrigger"
beeleb_Strategy.beeleb: session average is 3.458, stage average is 3.350
tsuyoshi.GrimTrigger: session average is 3.814, stage average is 3.711

Game 60: "beeleb_Strategy.beeleb" vs "gistfile1.MyStrategy"
beeleb_Strategy.beeleb: session average is 3.984, stage average is 3.984
gistfile1.MyStrategy: session average is 4.000, stage average is 3.999

Game 61: "beeleb_Strategy.beeleb" vs "oyama.OyamaImperfectPrivateMonitoring"
beeleb_Strategy.beeleb: session average is 3.692, stage average is 3.580
oyama.OyamaImperfectPrivateMonitoring: session average is 3.888, stage average is 3.788

Game 62: "beeleb_Strategy.beeleb" vs "ogawa.ogawa"
beeleb_Strategy.beeleb: session average is 3.467, stage average is 3.022
ogawa.ogawa: session average is 3.818, stage average is 3.470

Game 63: "beeleb_Strategy.beeleb" vs "yamagishi_impd.yamagishi"
beeleb_Strategy.beeleb: session average is 3.686, stage average is 3.648
yamagishi_impd.yamagishi: session average is 4.022, stage average is 4.001

Game 64: "oyama.OyamaImperfectPrivateMonitoring" vs "Iida_imperfect_private.Iida_iprm"
oyama.OyamaImperfectPrivateMonitoring: session average is 3.177, stage average is 2.891
Iida_imperfect_private.Iida_iprm: session average is 3.395, stage average is 3.106

Game 65: "oyama.OyamaImperfectPrivateMonitoring" vs "kato.KatoStrategy"
oyama.OyamaImperfectPrivateMonitoring: session average is 1.653, stage average is 1.739
kato.KatoStrategy: session average is 2.918, stage average is 2.537

Game 66: "oyama.OyamaImperfectPrivateMonitoring" vs "ikegami_imperfect_private.Self_Centered_private"
oyama.OyamaImperfectPrivateMonitoring: session average is 4.061, stage average is 4.076
ikegami_imperfect_private.Self_Centered_private: session average is 3.754, stage average is 3.698

Game 67: "oyama.OyamaImperfectPrivateMonitoring" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
oyama.OyamaImperfectPrivateMonitoring: session average is 3.646, stage average is 3.435
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.602, stage average is 3.401

Game 68: "oyama.OyamaImperfectPrivateMonitoring" vs "tsuyoshi.GrimTrigger"
oyama.OyamaImperfectPrivateMonitoring: session average is 3.514, stage average is 3.369
tsuyoshi.GrimTrigger: session average is 3.520, stage average is 3.322

Game 69: "oyama.OyamaImperfectPrivateMonitoring" vs "gistfile1.MyStrategy"
oyama.OyamaImperfectPrivateMonitoring: session average is 3.929, stage average is 3.896
gistfile1.MyStrategy: session average is 3.685, stage average is 3.609

Game 70: "oyama.OyamaImperfectPrivateMonitoring" vs "beeleb_Strategy.beeleb"
oyama.OyamaImperfectPrivateMonitoring: session average is 3.875, stage average is 3.758
beeleb_Strategy.beeleb: session average is 3.680, stage average is 3.547

Game 71: "oyama.OyamaImperfectPrivateMonitoring" vs "ogawa.ogawa"
oyama.OyamaImperfectPrivateMonitoring: session average is 3.353, stage average is 2.900
ogawa.ogawa: session average is 3.448, stage average is 3.116

Game 72: "oyama.OyamaImperfectPrivateMonitoring" vs "yamagishi_impd.yamagishi"
oyama.OyamaImperfectPrivateMonitoring: session average is 3.389, stage average is 3.212
yamagishi_impd.yamagishi: session average is 3.513, stage average is 3.282

Game 73: "ogawa.ogawa" vs "Iida_imperfect_private.Iida_iprm"
ogawa.ogawa: session average is 3.064, stage average is 2.792
Iida_imperfect_private.Iida_iprm: session average is 3.436, stage average is 2.948

Game 74: "ogawa.ogawa" vs "kato.KatoStrategy"
ogawa.ogawa: session average is 1.713, stage average is 1.794
kato.KatoStrategy: session average is 2.828, stage average is 2.454

Game 75: "ogawa.ogawa" vs "ikegami_imperfect_private.Self_Centered_private"
ogawa.ogawa: session average is 4.190, stage average is 4.396
ikegami_imperfect_private.Self_Centered_private: session average is 3.238, stage average is 2.417

Game 76: "ogawa.ogawa" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
ogawa.ogawa: session average is 3.657, stage average is 3.269
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.467, stage average is 3.049

Game 77: "ogawa.ogawa" vs "tsuyoshi.GrimTrigger"
ogawa.ogawa: session average is 3.545, stage average is 3.470
tsuyoshi.GrimTrigger: session average is 3.248, stage average is 2.630

Game 78: "ogawa.ogawa" vs "gistfile1.MyStrategy"
ogawa.ogawa: session average is 3.912, stage average is 3.760
gistfile1.MyStrategy: session average is 3.388, stage average is 2.815

Game 79: "ogawa.ogawa" vs "beeleb_Strategy.beeleb"
ogawa.ogawa: session average is 3.821, stage average is 3.475
beeleb_Strategy.beeleb: session average is 3.475, stage average is 3.024

Game 80: "ogawa.ogawa" vs "oyama.OyamaImperfectPrivateMonitoring"
ogawa.ogawa: session average is 3.453, stage average is 3.109
oyama.OyamaImperfectPrivateMonitoring: session average is 3.372, stage average is 2.915

Game 81: "ogawa.ogawa" vs "yamagishi_impd.yamagishi"
ogawa.ogawa: session average is 3.344, stage average is 3.035
yamagishi_impd.yamagishi: session average is 3.448, stage average is 3.008

Game 82: "yamagishi_impd.yamagishi" vs "Iida_imperfect_private.Iida_iprm"
yamagishi_impd.yamagishi: session average is 3.343, stage average is 3.168
Iida_imperfect_private.Iida_iprm: session average is 3.271, stage average is 3.090

Game 83: "yamagishi_impd.yamagishi" vs "kato.KatoStrategy"
yamagishi_impd.yamagishi: session average is 1.877, stage average is 1.855
kato.KatoStrategy: session average is 2.581, stage average is 2.363

Game 84: "yamagishi_impd.yamagishi" vs "ikegami_imperfect_private.Self_Centered_private"
yamagishi_impd.yamagishi: session average is 4.072, stage average is 4.077
ikegami_imperfect_private.Self_Centered_private: session average is 3.711, stage average is 3.693

Game 85: "yamagishi_impd.yamagishi" vs "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
yamagishi_impd.yamagishi: session average is 3.398, stage average is 3.173
mhanami_Imperfect_Private_Strategy.ImPrivStrategy: session average is 3.337, stage average is 3.146

Game 86: "yamagishi_impd.yamagishi" vs "tsuyoshi.GrimTrigger"
yamagishi_impd.yamagishi: session average is 3.641, stage average is 3.552
tsuyoshi.GrimTrigger: session average is 3.462, stage average is 3.357

Game 87: "yamagishi_impd.yamagishi" vs "gistfile1.MyStrategy"
yamagishi_impd.yamagishi: session average is 3.964, stage average is 3.951
gistfile1.MyStrategy: session average is 3.639, stage average is 3.600

Game 88: "yamagishi_impd.yamagishi" vs "beeleb_Strategy.beeleb"
yamagishi_impd.yamagishi: session average is 4.020, stage average is 3.990
beeleb_Strategy.beeleb: session average is 3.672, stage average is 3.633

Game 89: "yamagishi_impd.yamagishi" vs "oyama.OyamaImperfectPrivateMonitoring"
yamagishi_impd.yamagishi: session average is 3.479, stage average is 3.268
oyama.OyamaImperfectPrivateMonitoring: session average is 3.383, stage average is 3.202

Game 90: "yamagishi_impd.yamagishi" vs "ogawa.ogawa"
yamagishi_impd.yamagishi: session average is 3.434, stage average is 2.998
ogawa.ogawa: session average is 3.344, stage average is 3.030

Score table:
各セッションを重率1で平均した得点
[[ 0.     1.661  4.312  3.402  3.538  4.004  3.972  3.379  3.437  3.284]
 [ 2.906  0.     4.921  2.649  3.655  3.538  3.051  2.921  2.841  2.584]
 [ 2.751  0.318  0.     3.953  2.915  3.985  3.999  3.753  3.229  3.706]
 [ 3.187  1.832  4.012  0.     3.628  3.972  3.986  3.6    3.468  3.336]
 [ 2.859  1.161  4.271  3.537  0.     3.894  3.816  3.507  3.245  3.472]
 [ 3.043  1.239  4.004  3.926  3.532  0.     4.001  3.69   3.396  3.632]
 [ 3.084  1.564  4.     3.944  3.455  3.985  0.     3.686  3.471  3.679]
 [ 3.184  1.651  4.062  3.651  3.5    3.928  3.881  0.     3.362  3.386]
 [ 3.062  1.704  4.193  3.665  3.531  3.907  3.819  3.451  0.     3.344]
 [ 3.353  1.875  4.073  3.404  3.645  3.956  4.021  3.496  3.441  0.   ]]

各ステージゲームを重率1で平均した得点
[[ 0.     1.623  4.464  3.144  3.389  4.003  3.875  3.08   2.945  3.103]
 [ 2.711  0.     4.971  2.282  3.565  3.347  2.549  2.531  2.46   2.368]
 [ 2.145  0.117  0.     3.948  2.543  3.984  3.999  3.699  2.412  3.693]
 [ 2.896  1.909  4.013  0.     3.539  3.962  3.975  3.414  3.047  3.149]
 [ 2.382  1.054  4.364  3.353  0.     3.861  3.71   3.324  2.628  3.368]
 [ 2.666  1.199  4.004  3.904  3.45   0.     4.     3.618  2.819  3.598]
 [ 2.765  1.731  4.     3.927  3.346  3.984  0.     3.563  3.023  3.64 ]
 [ 2.895  1.743  4.075  3.447  3.368  3.898  3.773  0.     2.908  3.207]
 [ 2.802  1.791  4.397  3.271  3.475  3.754  3.473  3.113  0.     3.033]
 [ 3.182  1.852  4.077  3.184  3.565  3.947  3.995  3.275  3.003  0.   ]]

Ranking
-------
1. "yamagishi_impd.yamagishi"
セッションを重率1で平均: 3.474, ステージゲームを重率1で平均: 3.342

2. "mhanami_Imperfect_Private_Strategy.ImPrivStrategy"
セッションを重率1で平均: 3.447, ステージゲームを重率1で平均: 3.323

3. "Iida_imperfect_private.Iida_iprm"
セッションを重率1で平均: 3.443, ステージゲームを重率1で平均: 3.292

4. "beeleb_Strategy.beeleb"
セッションを重率1で平均: 3.430, ステージゲームを重率1で平均: 3.331

5. "ogawa.ogawa"
セッションを重率1で平均: 3.408, ステージゲームを重率1で平均: 3.234

6. "oyama.OyamaImperfectPrivateMonitoring"
セッションを重率1で平均: 3.401, ステージゲームを重率1で平均: 3.257

7. "gistfile1.MyStrategy"
セッションを重率1で平均: 3.385, ステージゲームを重率1で平均: 3.251

8. "tsuyoshi.GrimTrigger"
セッションを重率1で平均: 3.307, ステージゲームを重率1で平均: 3.116

9. "kato.KatoStrategy"
セッションを重率1で平均: 3.229, ステージゲームを重率1で平均: 2.976

10. "ikegami_imperfect_private.Self_Centered_private"
セッションを重率1で平均: 3.179, ステージゲームを重率1で平均: 2.949